package com.max.eshop.comporators;

import java.util.Comparator;
import com.max.eshop.core.Order;

public class SortedOrdersByPrice implements Comparator<Order> {

	@Override
	public int compare(Order arg0, Order arg1) {
		return arg0.getPrice().compareTo(arg1.getPrice());

	}
}
